$base-color: #0062AD; //主题色
$backgroud-base-color: #EDF4FF; // 主题的背景色
$other-color: #00C196; // 其他按钮的颜色
$table-base-color: #F6F7FB; // 表格背景色
$base-red-color: #F5001D; // 主体红色
html {
  //overflow: hidden;
}
body {
  //overflow-x: hidden;
  //overflow: hidden;
  font-family: PingFangSC, PingFangSC-Medium;
  --antd-wave-shadow-color: $base-color;
  font-size: 12px;
  background: #F7F8FA;
}
.ant-layout-header {
  background-color: #ffffff;
  padding: 0;
}
.ant-layout {
  background: #f1eded;
  height: 100%;
}
.ant-layout-sider {
  top:3px
}
.ant-layout-sider-trigger {
  background: #ffffff;
  color: #6B7A8B;
}
#layout-menu {
  .ant-menu {
    color: #2C3749;
  }
  .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
    // background-color: rgba(0, 98, 173, 0.05);
    background: #fff;
    color: $base-color;
    .ant-menu-title-content {
      background-color: rgba(0, 98, 173, 0.05);
      padding-left: 24px;
      border-left: 2px solid $base-color;
      border-radius: 0 4px 4px 0;
    }

  }
  .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-active {
    background: #fff;
  }
  .ant-menu-item-selected a, .ant-menu-item-selected a:hover {
    color: $base-color;
  }
  .ant-menu-inline {
    border-right: 0;
  }
  .ant-menu-sub.ant-menu-inline {
    background: #fff;
    .ant-menu-title-content {
      background-color:#fff;
      padding-left: 24px;
      border-left: 2px solid #DCDEE0;
    }
  }
  .ant-menu-inline .ant-menu-item::after {
    content: none;
  }
  .ant-menu-sub.ant-menu-inline > .ant-menu-item {
    margin: 0;
  }
}
.ant-btn-round {
  border-radius: 12px;
}
.home-title {
  width: 100%;
  height: 60px;
  background: #ffffff;
  line-height: 60px;
  padding: 0 0 0 25px;

  span {
    font-size: 24px;
    font-weight: 500;
    text-align: left;
    color: #2C3749;
  }
}
ul, li {
  list-style: none;
}
a {
  color: #2C3749;
}
a:hover {
  color: $base-color;
}
.table-btn {
  color: $base-color;
  padding-right: 10px;
  &:hover {
    color: #5e7ce0;
    cursor:pointer;
  }
  &:active {
    color: #5e7ce0;
    cursor:pointer;
  }
}
.ant-modal-footer {
  padding: 0;
}
/** 这是单选框*/
.ant-radio-inner::after {
  background-color: $base-red-color;
}
.ant-radio-checked .ant-radio-inner {
  border-color: $base-red-color;
}
.ant-radio-checked::after {
  border: 1px solid $base-red-color;
}
/**这是按钮的样式覆盖**/
.ant-btn-primary {
  background-color: $base-color;
}
.ant-btn-primary:hover, .ant-btn-primary:focus {
  color: #ffffff !important;
  border: 0;
  background-color: #1067EE;
}
.ant-btn:hover, .ant-btn:focus {
  border-color: $base-color;
}
.ant-btn-primary:active{
  color: #ffffff;
  border: 0;
}
/** 这是菜单的覆盖**/
.ant-menu-item-selected {
  color: $base-color;
}
.ant-menu-submenu-selected {
  color: $base-color;
}
.ant-menu-vertical .ant-menu-item::after, .ant-menu-vertical-left .ant-menu-item::after, .ant-menu-vertical-right .ant-menu-item::after, .ant-menu-inline .ant-menu-item::after{
  border-color: $base-color;
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
  background-color: $backgroud-base-color;
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-submenu-active {
  background-color: $backgroud-base-color;
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-active {
  background-color: $backgroud-base-color;
  color: $base-color;
  a {
    color: $base-color;
  }
}
.ant-menu-item-selected > span, .ant-menu-item-selected > span:hover{
  color: $base-color;
}
.ant-menu-item >span:hover{
  color: $base-color;
}
.ant-menu-submenu-selected {
  color: $base-color;
}
.ant-menu-submenu-active {
  color: $base-color;
}
/**这是分页的样式**/
.ant-pagination-item-active:focus a, .ant-pagination-item-active:hover a {
  color: #ffffff;
}
.ant-pagination-item-active a {
  color: #ffffff;
}
.ant-pagination-item-active {
  background: $base-color;
  border-color: $base-color;;
}
::selection {
  background: $base-color;
}
/**这是表格的样式**/
.ant-table-thead > tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td, .ant-table-tbody > tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td, .ant-table-thead > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td, .ant-table-tbody > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td{
  background: $backgroud-base-color;
}
.ant-table-thead > tr > th {
  background: #EBECF0;
  color: #2C3749;
  padding: 10px 12px;
  font-weight: 500;
}
.ant-table-tbody > tr > td {
  border-bottom: 0;
  border-right: 1px solid #fff;
  color: #2C3749;
  padding: 10px 12px;
  font-weight: 500;
}
.ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
  background-color: #ffffff;
}
.table-striped {
  background-color: #F5F8FA;
  .ant-table-cell-fix-left, .ant-table-cell-fix-right {
    background-color: #F5F8FA;
  }
}
.ant-checkbox-checked .ant-checkbox-inner {
  background-color: $base-red-color;
  border-color: $base-red-color;
}
.ant-checkbox:hover {
  background-color: $base-red-color;
  border-color: $base-red-color;
}
.ant-checkbox-checked::after {
  border: 1px solid $base-red-color;
}
/**这是选项卡的样式**/
.ant-tabs-nav .ant-tabs-tab:hover {
  color: $base-color;
}
.ant-tabs-nav .ant-tabs-tab-active {
  color: $base-color;
}
.ant-tabs-ink-bar {
  background: $base-color;
}
.ant-tabs > .ant-tabs-nav {
  background: #ffffff;
  padding: 0 20px;
}
.ant-tabs-top > .ant-tabs-nav {
  margin: 0 !important;
}
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  color: $base-color;
}
/** 按钮 **/
.ant-btn:hover, .ant-btn:focus {
  color: $base-color;
  border-color: transparent;
}
.ant-btn-link {
  color: $base-color;
}
.other-btn {
  background: $other-color;
  color: #ffffff;
  border-color: $other-color;
  &:hover {
    background: #7BECD3;
    color: #ffffff;
    border-color: #7BECD3;
  }
  &:focus {
    color: #ffffff;
    background: #7BECD3;
    border-color: #7BECD3;
  }
}
/** radio按钮 **/
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
  background: $base-color;
  border-color: $base-color;
}
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
  background: $base-color;
  border-color: $base-color;
}
/**卡片式tab**/
.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {
  color: $base-color;
}
/**描述列表*/
.ant-descriptions-item-label {
  color: #6d7278;
  font-weight: 400;
  cursor: pointer;
}
.ant-descriptions-item-content {
  color: #2C3749;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.ant-tabs-bar {
  border-bottom: 1px solid #e8e8e8;
}
.table-content {
  margin: 24px;
  background: #ffffff;
  .table-box {
    padding: 0 24px 24px 24px;
  }
  .table-title {
    display: flex;
    padding: 24px;
  }
}
.device-status {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 100%
}
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
}
::-webkit-scrollbar-track {
  background: #ffffff;
}
//.ant-modal-header {
//  border-bottom: 0 !important;
//}
.ant-btn-dangerous {
  color: $base-red-color;
  // border-color: $base-red-color;
}
.search-btn1 {
  background: $base-red-color;
  color: #ffffff;
  margin-right: 8px;
  &:hover {
    color: #fff;
    border-color: $base-red-color;
    background: $base-red-color;
  }
  &:active {
    color: #ffffff;
    border-color: $base-red-color;
    background: $base-red-color;
  }
  &:focus {
    color: #ffffff;
    border-color: $base-red-color;
    background: $base-red-color;
  }
}
.search-icon {
  width: 32px;
  height: 32px;
  border: 1px solid $base-red-color;
  border-radius: 2px;
  color: #f5001d;
  margin-right: 3px;
  line-height: 32px;
  font-size: 24px;
  padding: 0 3px;
}
.search-btn2 {
    color: $base-red-color;
    border-color: $base-red-color !important;
    margin-right: 3px;
    &:active {
      color: $base-red-color;
      border-color: $base-red-color;
    }
    &:hover {
      color: $base-red-color;
      border-color: $base-red-color;
    }
   &:focus {
     color: $base-red-color;
     border-color: $base-red-color;
   }
  }
.search-icon {
  width: 32px;
  height: 32px;
  border: 1px solid $base-red-color;
  border-radius: 2px;
  color: $base-red-color;
  margin-right: 3px;
  line-height: 32px;
  font-size: 24px;
  padding: 0 3px;
}
.info-btn {
  color: $base-color;
  background: rgba(0,98,173,0.08);
  border-color: rgba(0,98,173,0.08);
}
/** 表单*/
.form-item-border {
  height: 33px;
  border: 1px solid #dcdee0;
  padding-left: 12px;
  margin-bottom: 24px;
}
/** 弹框底部*/
.from-btn {
  text-align: center;
  height: 62px;
  line-height: 62px;
  background: #ffffff;
  box-shadow: 0px -4px 9px 0px rgba(0,0,0,0.09);
}
.from-btn-right {
  height: 62px;
  line-height: 62px;
  background: #ffffff;
  // box-shadow: 0px -4px 9px 0px rgba(0,0,0,0.09);
}
.ant-upload.ant-upload-drag {
  background: #ffffff;
  border: 1px solid #DCDEE0;
}
.ant-input-number-group-addon {
  border: 0;
}
.docx-wrapper {
  background: #ffffff !important;
  padding: 0 !important;
}
.ant-checkbox-indeterminate .ant-checkbox-inner::after {
  background: #fff;
}
.ant-select, .ant-input-number, .ant-input{
  color: #6B7A8B;
  font-weight: 500;
}
.ant-picker-input > input {
  color: #6B7A8B;
  font-weight: 500;
}

//::placeholder {
//  color: #DCDEE0; /* 设置占位符文本的颜色 */
//  font-size: 14px; /* 设置占位符文本的字体大小 */
//  /* 其他样式属性 */
//}
//.ant-select-selection-placeholder {
//  color: #DCDEE0;
//  font-size: 14px;
//}
//.ant-picker-input > input::placeholder {
//  color: #DCDEE0;
//  font-size: 14px;
//}
//.ant-input-number-input::placeholder {
//  color: #DCDEE0;
//  font-size: 14px;
//}
//.ant-input::placeholder {
//  color: #DCDEE0;
//  font-size: 14px;
//}
.ant-btn {
  border-color: transparent;
}
.border-btn {
  border-color: #DCDEE0;
  &:hover {
    border-color: #DCDEE0;
  }
  &:focus {
    border-color: #DCDEE0;
  }
  &:active {
    border-color: #DCDEE0;
  }
}
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before {
  background-color: transparent !important;
  //transition: background-color 0s;
}
.ant-anchor-ink::before {
  display: none;
}
.ant-select-multiple .ant-select-selection-item {
  width: 80px;
}
.ant-modal-confirm {
  .ant-modal-confirm-btns {
    .ant-btn {
      border: 1px solid $base-color;
      margin-right: 10px;
    }

  }
}
//.ant-form-item-label > label {
//  color: #2C3749;
//}
//.ant-anchor-link-active > .ant-anchor-link-title {
//  color: #2C3749;
//}
//.gantt_link_target .gantt_link_control div, .gantt_task_line.gantt_drag_move .gantt_link_control div, .gantt_task_line.gantt_drag_move .gantt_task_drag, .gantt_task_line.gantt_drag_move .gantt_task_progress_drag, .gantt_task_line.gantt_drag_progress .gantt_link_control div, .gantt_task_line.gantt_drag_progress .gantt_task_drag, .gantt_task_line.gantt_drag_progress .gantt_task_progress_drag, .gantt_task_line.gantt_drag_resize .gantt_link_control div, .gantt_task_line.gantt_drag_resize .gantt_task_drag, .gantt_task_line.gantt_drag_resize .gantt_task_progress_drag, .gantt_task_line.gantt_selected .gantt_link_control div, .gantt_task_line.gantt_selected .gantt_task_drag, .gantt_task_line.gantt_selected .gantt_task_progress_drag, .gantt_task_line:hover .gantt_link_control div, .gantt_task_line:hover .gantt_task_drag, .gantt_task_line:hover .gantt_task_progress_drag {
//  display: none !important;
//}
//.highcharts-range-selector-buttons {
//  display: none;
//}
//.highcharts-input-group {
//  display: none;
//}
//.highcharts-xaxis-labels text {
//  width: 200px;
//  text-overflow: ellipsis;
//  white-space: nowrap;
//  overflow: hidden;
//}

//.highcharts-markers {
//  display: none !important;
//}
